package proxySourceColonSeparated

import (
	"net/url"
	"time"
)

type node struct {
	u           *url.URL
	expiredTime time.Time
}

func (n *node) IsExpired() bool {
	return n.expiredTime.Before(time.Now())
}

func (n *node) URL() *url.URL {
	return n.u
}
